package net.sourceforge.m2settings.gui.listerners;

import java.awt.event.ActionListener;

import net.sourceforge.m2settings.gui.CreateElementFrame;
import net.sourceforge.m2settings.model.ExtendableTableModel;

public class ButtonCreateActionListener implements ActionListener {
	private ExtendableTableModel tableModel = null;

	public ButtonCreateActionListener(ExtendableTableModel model) {
		tableModel = model;
	}

	public void actionPerformed(java.awt.event.ActionEvent e) {
		CreateElementFrame createElementFrame = new CreateElementFrame( tableModel);

		createElementFrame.setVisible(true);
	}
}
